<template>
	<view class="examination">
		<view class="section-box">
			<u-section title="体检结论" :right="false" :bold='false' :line-color='themeColorLight' color="#000000"></u-section>
		</view>
		<view class="examination-result">
			<u-collapse>
				<u-collapse-item :title="item.head||'测试'" v-for="item in resultList" :key="item.a">
					<view class="card-row">
						<label>疾病描述</label>{{item.n||'电视剧看得见福克斯的缴费可适当'}}
					</view>
					<view class="card-row">
						<label>疾病描述</label>{{item.n||'电视剧看得见福克斯的缴费可适当'}}
					</view>
				</u-collapse-item>
			</u-collapse>
		</view>
		<view class="section-box">
			<u-section title="体检报告" :right="false" :bold='false' :line-color='themeColorLight' color="#000000"></u-section>
		</view>
		<view class="examination-main">
			
		</view>
	</view>
</template>

<script>
	import { themeColorLight } from '@/static/js/theme.js'
	import { getPhysicalDetail } from '@/api/home.js'
	export default {
		data() {
			return {
				themeColorLight,
				resultList:[{a:1}],
				tjbh:null
			}
		},
		onLoad(op) {
			this.tjbh = op.tjbh||''
		},
		methods: {
			initData(){
				this.load = true
				let params = {
					tjbh: this.tjbh
				}
				getPhysicalDetail(params).then(data => {
					this.load = false
					this.resultList = data||[]
				}).catch(e => {
					this.load = false
					this.resultList = []
				})
			},
		}
	}
</script>

<style lang="scss" scoped>
	.examination{
		height: calc(100vh);
		background-color: $uni-bg-color;
		overflow: scroll;
	}
</style>
